<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
    <title>栏目管理</title>

<script type="text/javascript" src="__PUBLIC__/libs/js/jquery.js"></script>
<link href="__PUBLIC__/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" id="skin" prePath="__PUBLIC__/"/>
<link rel="stylesheet" type="text/css" id="customSkin"/>

    <link href="__PUBLIC__/css/base.css" rel="stylesheet" type="text/css">
    <script language="javascript" src="__PUBLIC__/js/global.js"></script>
    <script language="javascript" src="__PUBLIC__/js/context_menu.js"></script>
    <script language="javascript" src="__PUBLIC__/js/ieemu.js"></script>
    <script language="javascript" src="__PUBLIC__/js/dialog.js"></script>
    <script language="javascript" src="__PUBLIC__/js/dedeajax2.js"></script>
    <script language="javascript">
        function LoadSuns(ctid,tid)
        {
            if($DE(ctid).innerHTML.length < 10){
                $DE('img'+tid).src = '__PUBLIC__/images/dedecontract.gif';
                var myajax = new DedeAjax($DE(ctid));
                myajax.SendGet('__URL__/catalog_do/?dopost=GetSunLists&cid='+tid);
            }
            else{
                showHide(ctid,tid);
            }
        }
        function showHide(objname,tid)
        {

            if($DE(objname).style.display=="none")
            {
                $DE('img'+tid).src = '__PUBLIC__/images/dedecontract.gif';
                $DE(objname).style.display = BROWSER.firefox? "" : "block";
            } else {
                $DE('img'+tid).src = '__PUBLIC__/images/dedeexplode.gif';
                $DE(objname).style.display="none";
            }
        }
        if(moz) {
            extendEventObject();
            extendElementModel();
            emulateAttachEvent();
        }

    </script>
    <style>
        .coolbg2 {
            border: 1px solid #000000;
            background-color: #F2F5E9;
            height:18px
        }
        .coolbt2 {
            border-left: 2px solid #EFEFEF;
            border-top: 2px solid #EFEFEF;
            border-right: 2px solid #ACACAC;
            border-bottom: 2px solid #ACACAC;
            background-color: #F7FCDA
        }
        .nbline {border-bottom: 1px solid #d6d6d6; background-color:#FFFFFF; }
        .bline2 {border-bottom: 1px solid #d6d6d6; background-color:#F9FCEF; }
    </style>
</head>
<body background='images/allbg.gif' leftmargin='8' topmargin='8'>

<table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#cfcfcf" align="center">
    <form name='form1' method='post' action='catalog_do.php?dopost=upRankAll'>
        <tr>
            <td height="120" bgcolor="#FFFFFF" valign="top">
                <volist name="depart_list" id="vo">

<table width='100%' border='0' cellspacing='0' cellpadding='2'>
    <tr>
        <td style='background-color:#FBFCE2;' width='2%' class='bline'>
            <img style='cursor:pointer'
                 id='img{$vo["id"]}'  onClick="LoadSuns('suns{$vo["id"]}',{$vo["id"]});"
            src='__PUBLIC__/images/dedeexplode.gif'    width='11' height='11'></td>
        <td style='background-color:#FBFCE2;' class='bline'>
            <table width='98%' border='0' cellspacing='0' cellpadding='0'>
                <tr>
                    <td width='50%'><input class='np' type='checkbox' name='tids[]' value='{$vo["id"]}'>
                        <a  href='###'>{$vo["name"]}[ID:{$vo["id"]}]</a>(文档：14)
                    </td>
                    <td align='right'>
                        <a  href='__URL__/catalog_add/?id={$vo["id"]}'>增加子类</a>
                        |<a  href='__URL__/catalog_edit/?id={$vo["id"]}'>更改</a>
                        |<a href='__URL__/catalog_do/?dopost=moveCatalog&typeid={$vo["id"]}'>移动</a>
                        |<a href='__URL__/catalog_del/?id={$vo["id"]}&'>删除</a>&nbsp;
                        <input type='text' name='sortrank{$vo["id"]}' value='3' style='width:25px;height:20px'>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td colspan='2' id='suns{$vo["id"]}'></td>
    </tr>
</table>


                </volist>

            </td>
        </tr>
    </form>

</table>


</body>
</html>